package com.crm.custinfo;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import com.crm.custinfo.po.CustInfo;

public interface ICustInfoDAO {
	public List getCustInfoList(CustInfo custInfo, HttpServletRequest request);

	public List getBlackCustList(CustInfo custInfo, HttpServletRequest request);
	
	public boolean addCustInfo(CustInfo custInfo);

	public CustInfo getCustInfo(Integer id);
	public CustInfo getCustInfoByPhone(String phone);

	public boolean delCustInfo(Integer id);

	public boolean updateCustInfo(CustInfo custInfo);
	
	public boolean updateCustState(Integer id,String state);
	
	public List getQueryCustList(CustInfo custInfo, HttpServletRequest request);
}
